package com.techsoul.module.order.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.techsoul.common.core.pojo.entity.DataEntity;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 采购订单明细对象 oms_purchase_order_item
 * 
 * @author liuen
 * @date 2022-08-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_po_purchase_order_item")
public class PurchaseOrderItem extends DataEntity {

    /**
     * 销售订单ID
     */
    private static final long serialVersionUID = 1L;

    @TableField("depart_zone")
    private String departZone;

    @TableField("est_delivery_time")
    private Date estDeliveryTime;
    @TableField("est_pick_up_time")
    private Date estPickUpTime;
    @TableField("vehicle_fue_type")
    private String vehicleFueType;


    @TableField("pick_up_warehouse_no")
    private String pickUpWarehouseNo;
    @TableField("drop_off_warehouse_no")
    private String dropOffWarehouseNo;
    @TableField("transit_warehouse_no")
    private String transitWarehouseNo;

    @TableField("dest_zone")
    private String destZone;
    @TableField("item_no")
    private String itemNo;

    /**
     * ref t_po_purchase_order
     */
    @TableField("purchase_order_id")
    private String purchaseOrderId;
    @TableField("accessary_delivery_yn")
    private String accessaryDeliveryYn;
    @TableField("contact_name")
    private String contactName;
    @TableField("purchase_order_no")
    private String purchaseOrderNo;

    /**
     * ref t_so_sales_order
     */
    @TableField("sales_order_id")
    private String salesOrderId;

    /**
     * 销售订单编号
     */
    @TableField("sales_order_no")
    private String salesOrderNo;

    @TableField("material_no")
    private String materialNo;

    @TableField("material_desc")
    private String materialDesc;

    @TableField("meas_unit")
    private String measUnit;

    @TableField("cusotmer_product_no")
    private String cusotmerProductNo;

    @TableField("cusotmer_produc_name")
    private String cusotmerProducName;

    @TableField("order_quantity")
    private BigDecimal orderQuantity;

    @TableField("diff_quantity")
    private BigDecimal diffQuantity;

    @TableField("sales_quantity")
    private BigDecimal salesQuantity;

    @TableField("demand_delivery_date")
    private Date demandDeliveryDate;

    @TableField("arranged_delivery_date")
    private Date arrangedDeliveryDate;

    @TableField("promise_delivery_date")
    private Date promiseDeliveryDate;

    @TableField("arranged_freight_date")
    private Date arrangedFreightDate;

    @TableField("price_code")
    private String priceCode;

    @TableField("balance_currencty_no")
    private String balanceCurrenctyNo;

    @TableField("unit_price")
    private BigDecimal unitPrice;

    @TableField("account_sum")
    private BigDecimal accountSum;

    @TableField("tax_account")
    private BigDecimal taxAccount;

    @TableField("cost")
    private BigDecimal cost;

    @TableField("discount_sum")
    private BigDecimal discountSum;

    @TableField("discount_rate")
    private BigDecimal discountRate;

    @TableField("add_ons_disccount_rate")
    private BigDecimal addOnsDisccountRate;

    @TableField("order_discount_sum")
    private BigDecimal orderDiscountSum;

    @TableField("value_added_tax")
    private BigDecimal valueAddedTax;

    @TableField("contain_tax_unit_price")
    private BigDecimal containTaxUnitPrice;

    @TableField("contain_tax_sum")
    private BigDecimal containTaxSum;

    @TableField("delivery_type")
    private String deliveryType;

    @TableField("delivery_address")
    private String deliveryAddress;

    @TableField("lead_time")
    private BigDecimal leadTime;

    @TableField("note_text")
    private String noteText;

    @TableField("supplier_id")
    private String supplierId;

    @TableField("product_expier_date")
    private Date productExpierDate;

    @TableField("product_batch_number")
    private String productBatchNumber;

    @TableField("mapped_yn")
    private String mappedYn;

    @TableField("required_effected_length")
    private Date requiredEffectedLength;

    @TableField("purchase_line_id")
    private BigDecimal purchaseLineId;

    @TableField("remain_quantity")
    private BigDecimal remainQuantity;

    @TableField("customer_no")
    private String customerNo;

    @TableField("customer_name")
    private String customerName;

    @TableField("warehouse_in_order_no")
    private String warehouseInOrderNo;

    @TableField("this_time_shipped")
    private String thisTimeShipped;

    @TableField("consignee_id")
    private String consigneeId;

    @TableField("produce_date")
    private Date produceDate;

    @TableField("status")
    private String status;

    @TableField("material_id")
    private String materialId;

    @TableField("departure")
    private String departure;

    @TableField("destination")
    private String destination;
    @TableField("spec")
    private String spec;
    @TableField("shipby_qty_weight_or_pack")
    private String shipbyQtyWeightOrPack;
    @TableField("consignee_phone")
    private String consigneePhone;
    @TableField("miles")
    private Double miles;
    @TableField("sku_code")
    private String skuCode;
    @TableField("is_hot_yn")
    private String isHotYn;
    @TableField("packing")
    private String packing;
    @TableField("pack_qty")
    private BigDecimal packQty;
    @TableField("weight")
    private BigDecimal weight;
    @TableField("volume")
    private BigDecimal volume;
    @TableField("weight_meas_unit")
    private String weightMeasUnit;
    @TableField("volume_meas_unit")
    private String volumeMeasUnit;
    @TableField("pick_up_address")
    private String pickUpAddress;
    @TableField("is_self_route_yn")
    private String isSelfRouteYn;
    @TableField("order_source")
    private String orderSource;
    @TableField("freight_order_type_no")
    private String freightOrderTypeNo;
    @TableField("service_type")
    private String serviceType;
    @TableField("site")
    private String site;

    @TableField("branch_office")
    private String branchOffice;
    @TableField("material_describe")
    private String materialDescribe;
    @TableField("wheelbase")
    private String wheelbase;
    @TableField("carrier")
    private String carrier;
    @TableField("carrier_no")
    private String carrierNo;
    @TableField("exception_status")
    private String exceptionStatus;
    @TableField("exception_report_type")
    private String exceptionReportType;
    @TableField("exception_report_reason")
    private String exceptionReportReason;
    @TableField("order_status")
    private String orderStatus;
    @TableField("order_dispatch_status")
    private String orderDispatchStatus;
    @TableField("order_type")
    private String orderType;
    @TableField("departure_type")
    private String departureType;
    @TableField("vehicle_type")
    private String vehicleType;
    @TableField("drive")
    private String drive;
    @TableField("outbound_date")
    private Date outboundDate;
    @TableField("examine_name")
    private String examineName;
    @TableField("examine_date")
    private Date examineDate;
    @TableField("vehicle_series")
    private String vehicleSeries;
    @TableField("vehicle_subbrand")
    private String vehicleSubbrand;
    @TableField("billing_status")
    private String billingStatus;
    @TableField("evaluation_status")
    private String evaluationStatus;
    @TableField("sign_status")
    private String signStatus;
    @TableField("sign_date")
    private Date signDate;
    @TableField("sign_name")
    private String signName;
    @TableField("electronic_receipt_status")
    private String electronicReceiptStatus;
    @TableField("electronic_receipt_date")
    private Date electronicReceiptDate;
    @TableField("planned_chargeback_date")
    private Date plannedChargebackDate;
    @TableField("reality_chargeback_date")
    private Date realityChargebackDate;
    @TableField("power_description")
    private String powerDescription;
    @TableField("collection_area")
    private String collectionArea;
    @TableField("unit_plan")
    private String unitPlan;
    @TableField("collection_province")
    private String collectionProvince;
    @TableField("start_province")
    private String startProvince;
    @TableField("urgent_marking")
    private String urgentMarking;
    @TableField("device_code")
    private String deviceCode;
    @TableField("market_department")
    private String marketDepartment;
    @TableField("logistics_department")
    private String logisticsDepartment;
    @TableField("driver_name")
    private String driverName;
    @TableField("engine_model_describe")
    private String engineModelDescribe;
    @TableField("produce_order_no")
    private String  produceOrderNo;
    @TableField("print_status")
    private String printStatus;
    @TableField("print_ct")
    private String printCt;



    @TableField("carrier_date")
    private Date carrierDate;
    @TableField("carrier_name")
    private String carrierName;
    @TableField("sales_organization")
    private String salesOrganization;
    @TableField("device_type")
    private String deviceType;
    @TableField("pilothouse_type")
    private String pilothouseType;
    @TableField("sales_area")
    private String salesArea;
    @TableField("distribution")
    private String distribution;
    @TableField("start_urban")
    private String startUrban;
    @TableField("transport_route")
    private String transportRoute;
    @TableField("start_area")
    private String startArea;
    @TableField("cause_department")
    private String causeDepartment;
    @TableField("departure_unit")
    private String departureUnit;
    @TableField("collection_unit")
    private String collectionUnit;
    @TableField("sap_storage_date")
    private Date sapStorageDate;
    @TableField("sap_outbound_date")
    private Date sapOutboundDate;
    @TableField("sap_transfer_items_date")
    private Date sapTransferItemsDate;
    @TableField("shipment_description")
    private String shipmentDescription;
    @TableField("sap_delivery_createDate")
    private Date sapDeliveryCreateDate;


    @TableField("export_country")
    private String exportCountry;
    @TableField("is_carrier")
    private String isCarrier;
    @TableField("carrier_code")
    private String carrierCode;
    @TableField("vehicle_upper_below")
    private String vehicleUpperBelow;
    @TableField("arrival_type")
    private String arrivalType;
    @TableField("transmission_type")
    private String transmissionType;
    @TableField("pickup_city")
    private String pickupCity;
    @TableField("vehicle_brand")
    private String vehicleBrand;
    @TableField("vehicle_name")
    private String vehicleName;
    @TableField("vehicle_model")
    private String  vehicleModel;
    @TableField("pickup_start_date")
    private Date pickupStartDate;
    @TableField("vehicle_load_type")
    private String vehicleLoadType;
    @TableField("consignee_name")
    private String consigneeName;
}
